package model

type GetPod struct {
	PodName   string `form:"pod_name" json:"pod_name"`
	Namespace string `form:"namespace" json:"namespace"`
}

type GetPodLog struct {
	PodName       string `form:"pod_name"`
	Namespace     string `form:"namespace"`
	ContainerName string `form:"container_name"`
	Follow        bool   `form:"follow"`
	TailLines     int64  `form:"tailLines"`
	Previous      bool   `form:"previous"`
}

type PodCmdExec struct {
	PodName   string `json:"pod_name"`
	Namespace string `json:"namespace"`
	Cmd       string `json:"cmd"`
}

type GetDeployment struct {
	FilterName string `form:"filter_name"`
	Namespace  string `form:"namespace"`
	Page       int    `form:"page"`
	Limit      int    `form:"limit"`
}

type GetDeploymentInfo struct {
	DeploymentName string `form:"deployment_name" json:"deployment_name"`
	Namespace      string `form:"namespace" json:"namespace"`
}

type ScaleDeployment struct {
	DeploymentName string `form:"deployment_name"`
	Namespace      string `form:"namespace"`
	ScaleNum       int    `form:"scale_num"`
}

type GetNameSpace struct {
	NamespaceName string `form:"namespace_name" json:"namespace_name"`
}

type GetNodes struct {
	NodesName string `form:"nodes_name"`
}
